//
//  SingleGraphViewController.h
//  ClinicalCollections
//
//  Created by janakiraman gopinath on 3/9/13.
//  Copyright (c) 2013 GOPI. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "CorePlot-CocoaTouch.h"
#import "CommonAPI.h"
#import "CCVSGraphData.h"


@interface SingleGraphViewController : UIViewController
                                      <CPTBarPlotDataSource, CPTPieChartDataSource, CPTBarPlotDelegate, UITableViewDataSource, UITableViewDelegate>
{
    
    CPTXYGraph *graph, *barChart, *pieGraph;
    CPTPieChart *piePlot;
    BOOL piePlotIsRotating;
    
    NSMutableArray *dataForChart, *dataForPlot;
}
@property (nonatomic, strong) NSString *chartType;
@property (nonatomic, strong) NSString *chartTitle;
@property (nonatomic, strong) NSArray *chartArray;
@property (weak, nonatomic) IBOutlet UITableView *tableView;

@property (weak,nonatomic) CCVSGraphData * ccvsCustomData;

@end
